package tables

import (
	"time"
)

type CourseList struct {
	Id               int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	Price            float32   `xorm:"" json:"price" form:"price" mapstructure:"price"`
	Title            string    `xorm:"" json:"title" form:"title" mapstructure:"title"`
	ExpirationDate   int64     `xorm:"" json:"expiration_date" form:"expiration_date" mapstructure:"expiration_date"`
	ClassHour        int       `xorm:"" json:"class_hour" form:"class_hour" mapstructure:"class_hour"`
	NumberOfLearners int       `xorm:"" json:"number_of_learners" form:"number_of_learners" mapstructure:"number_of_learners"`
	State            int       `xorm:"" json:"state" form:"state" mapstructure:"state"`
	AboutInstructor  string    `xorm:"" json:"about_instructor" form:"about_instructor" mapstructure:"about_instructor"`
	InstructorId     int       `xorm:"" json:"instructor_id" form:"instructor_id" mapstructure:"instructor_id"`
	CreatedAt        time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt        time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt        time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	Collect          int       `xorm:"" json:"collect" form:"collect" mapstructure:"collect"`
	Shares           int       `xorm:"" json:"shares" form:"shares" mapstructure:"shares"`
	Buy              int       `xorm:"" json:"buy" form:"buy" mapstructure:"buy"`
	Acid             int       `xorm:"" json:"acid" form:"acid" mapstructure:"acid"`
	MenuId           int       `xorm:"" json:"menu_id" form:"menu_id" mapstructure:"menu_id"`
	SubMchId         string    `xorm:"" json:"sub_mch_id" form:"sub_mch_id" mapstructure:"sub_mch_id"`
	Pic              string    `xorm:"" json:"pic" form:"pic" mapstructure:"pic"`
	Url              string    `xorm:"" json:"url" form:"url" mapstructure:"url"`
	IsPoints         int       `xorm:"" json:"is_points" form:"is_points" mapstructure:"is_points"`
	GivePoints       float32   `xorm:"" json:"give_points" form:"give_points" mapstructure:"give_points"`
	WatchPoints      string    `xorm:"" json:"watch_points" form:"watch_points" mapstructure:"watch_points"`
	CarmineId        int       `xorm:"" json:"carmine_id" form:"carmine_id" mapstructure:"carmine_id"`
	IsFeel           int       `xorm:"" json:"is_feel" form:"is_feel" mapstructure:"is_feel"`
	WhiteList        string    `xorm:"" json:"white_list" form:"white_list" mapstructure:"white_list"`
}
